<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>

<html>
<head>
<%@ include file="../common/incmnt.jsp"%>
<title>mnt SystemInfo</title>
<script type="text/JavaScript">
$(function(){
	$("#back").bind("click",back_click);
	$("#preview").bind("click",preview_click);
});
function back_click(e){
	location.href='../mnt/';
}
function preview_click(e){
	$("#command").val("preview");
	$("#systemInfoForm").submit();
}
</script>
</head>
<body>
<form action="${f:url('systemInfo') }" id="systemInfoForm">
<input type="submit" value="登録">
<input type="button" id="preview" value="プレビュー">
<input type="button" id="back" value="戻る">
<input type="hidden" id="command" name="command" value="regist">
<input type="hidden" name="pk" value="${systemInfo.key.id}">
<div>トップインフォメーションライン１：</div>
<div>
	<input type="text" name="topInfoLine1" value="${f:h(systemInfo.topInfoLine1)}" size="80">
</div>
<div style="margin:5px">${systemInfo.topInfoLine1}</div>
<div>トップインフォメーションエリア１：</div>
<div>
	<textarea rows="5" cols="100px" name="tpInfoArea1">${f:h(systemInfo.topInfoArea1.value)}</textarea>
</div>
<div style="margin:5px">${f:br(systemInfo.topInfoArea1.value)}</div>
<div>マイページインフォメーションライン１：</div>
<div>
	<input type="text" name="mypageInfoLine1" value="${f:h(systemInfo.mypageInfoLine1)}"  size="80">
</div>
<div>${systemInfo.mypageInfoLine1}</div>
<div>マイページインフォメーションエリア１：</div>
<div>
	<textarea rows="5" cols="100px" name="mpInfoArea1">${f:h(systemInfo.mypageInfoArea1.value)}</textarea>
</div>
<div>${f:br(systemInfo.mypageInfoArea1.value)}</div>
</form>
</body>
</html>
